Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericDictionaryAssertions<TCollection,TKey,TValue,TAssertions> Class / Contain Method / Contain(KeyValuePair<TKey,TValue>[]) Method
The expected key/value pairs.
In This Topic
    Contain(KeyValuePair<TKey,TValue>[]) Method
    In This Topic
    Asserts that the current dictionary contains the specified expected. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.
    Syntax

    Parameters

    expected
    The expected key/value pairs.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also